/// WithdrawOrderHisPageRequestDto
class WithdrawOrderHisPageRequestDto {
  /// 当前页 默认 1
  final int? pageNum;
  /// 每页记录数 默认 10
  final int? pageSize;
  /// 订单号
  final String? orderNum;
  /// 银行卡用户姓名
  final String? accountName;
  /// 申请用户
  final String? userName;
  /// 操作人
  final String? operateBy;
  /// 申请时间-开始
  final String? createTimeBegin;
  /// 申请时间-截止
  final String? createTimeEnd;
  /// 提现日期-开始
  final String? withdrawTimeBegin;
  /// 提现日期-截止
  final String? withdrawTimeEnd;

  WithdrawOrderHisPageRequestDto({
    this.pageNum,
    this.pageSize,
    this.orderNum,
    this.accountName,
    this.userName,
    this.operateBy,
    this.createTimeBegin,
    this.createTimeEnd,
    this.withdrawTimeBegin,
    this.withdrawTimeEnd,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    if (pageNum != null) data['pageNum'] = pageNum;
    if (pageSize != null) data['pageSize'] = pageSize;
    if (orderNum != null) data['orderNum'] = orderNum;
    if (accountName != null) data['accountName'] = accountName;
    if (userName != null) data['userName'] = userName;
    if (operateBy != null) data['operateBy'] = operateBy;
    if (createTimeBegin != null) data['createTimeBegin'] = createTimeBegin;
    if (createTimeEnd != null) data['createTimeEnd'] = createTimeEnd;
    if (withdrawTimeBegin != null) data['withdrawTimeBegin'] = withdrawTimeBegin;
    if (withdrawTimeEnd != null) data['withdrawTimeEnd'] = withdrawTimeEnd;
    return data;
  }

  factory WithdrawOrderHisPageRequestDto.fromJson(Map<String, dynamic> json) {
    return WithdrawOrderHisPageRequestDto(
      pageNum: json['pageNum'],
      pageSize: json['pageSize'],
      orderNum: json['orderNum'],
      accountName: json['accountName'],
      userName: json['userName'],
      operateBy: json['operateBy'],
      createTimeBegin: json['createTimeBegin'],
      createTimeEnd: json['createTimeEnd'],
      withdrawTimeBegin: json['withdrawTimeBegin'],
      withdrawTimeEnd: json['withdrawTimeEnd'],
    );
  }
}